/**
 * Do not allow blurred background for dialogs
 * see: https://github.com/Jermolene/TiddlyWiki5/issues/1893
 */
body .tc-page-container-wrapper.tc-modal-displayed {
  -webkit-filter: inherit;
  -moz-filter: inherit;
  filter: inherit;
}

body .tc-modal-wrapper {
  z-index: 1010;

  .tc-modal-header {
    svg {
      vertical-align: sub;
    }
    h3 {
      line-height: 10px;
    }
  }

  .tc-modal-body {
    min-height: 250px; // tw doesn't have a minheight
    max-height: 70vh; // tw uses 60vh
    padding-top: 0px; // tw uses 15px
    padding-bottom: 0px; // tw uses 15px
    overflow: auto;
  }

  .tc-modal-footer {
    padding: 8px;
    .tmap-dialog-button {
      font-weight: bold;
    }
    .tmap-hidden-close-button {
      display: none;
    }
  }
}
